MONOSPACE = "Monospace"

config = Bunch(
    modules = Bunch(
        trace = Bunch(
            bookmark = ActionInfo(
                name = "_Add bookmark",
                key = "b",
                aliases = ["<ctrl>b"],
            ),
            expand = ActionInfo(
                group = "_Navigation",
                name = "_Expand",
                key = "Right",
                aliases = ["<shift>Right"], # to override the tree's default "expand all"
            ),
            collapse = ActionInfo(
                group = "_Navigation",
                name = "_Collapse",
                key = "Left",
            ),
            histprev = ActionInfo(
                group = "_History",
                name = "_Previous",
                key = "bracketleft",
            ),
            histnext = ActionInfo(
                group = "_History",
                name = "_Next",
                key = "bracketright",
            ),
            font = MONOSPACE,
        ),
        bookmark = Bunch(
            jump = ActionInfo(
                name = "_Jump",
                key = "Return",
                # XXX: connect to "row-activated"
            ),
            delete = ActionInfo(
                name = "_Delete",
                key = "Delete",
            ),
            confirm_deletions = True,
            confirm_replace = True,
            font = MONOSPACE,
        ),
        search = Bunch(
            forward = ActionInfo(
                group = "_Search",
                name = "_Forward",
                key = "F3",
                aliases = ["Return"],
            ),
            backward = ActionInfo(
                group = "_Search",
                name = "_Backward",
                key = "<shift>F3",
            ),
        ),
        filtering = Bunch(
            delete = ActionInfo(
                name = "_Delete",
                key = "Delete",
            ),
        ),
        source = Bunch(
            highlight_color = "yellow",
            font = MONOSPACE,
        ),
        application = Bunch(
            load_trace = ActionInfo(
                group = "_File",
                name = "_Load trace",
                key = "<ctrl>l",
            ),
            open_book = ActionInfo(
                group = "_File",
                name = "_Open book",
                key = "<ctrl>o",
            ),
            save_book = ActionInfo(
                group = "_File",
                name = "_Save book",
                key = "<ctrl>s",
            ),

        ),
    )
)








